package cn.com.lamaba;


interface Flyable{
    void fly(String s);
}

public class FlyableDemo {

    public static void main(String[] args) {

        useFlyable((String s) -> {
            System.out.println(s);
        });
    }

    public static void useFlyable(Flyable f){
        String s = "起飞了";
        f.fly(s);
    }
}
